TARGET = tp0
CC = gcc
CFLAGS = -O0 -Wall  -pedantic
INCLUDES = .

file:
	$(CC) $(CFLAGS) -I$(INCLUDES) $(TARGET).c -o $(TARGET)

asm:
	$(CC) $(CFLAGS) -I$(INCLUDES) $(TARGET).c -S -o $(TARGET).S

test:
	$(CC) $(CFLAGS) -g -I$(INCLUDES) $(TARGET).c -o $(TARGET)
	sh tests.sh

clean:
	rm -f $(TARGET).S $(TARGET)
